﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// PB_WorkStation
    /// </summary>
    [Table("PB_WorkStation")]
    public partial class PB_WorkStation
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 工作站编号
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 工作站名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 组织编码
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 车间编码
        /// </summary>
        public String WorkshopId { get; set; }

        /// <summary>
        /// 类型（0-条码；1-A4；2-all）
        /// </summary>
        public Int32? Type { get; set; }

        //关联工位
        public String StationID { get; set; }

        /// <summary>
        /// 二维码
        /// </summary>
        public String QrCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public Boolean IsForbid { get; set; }

    }
}